package com.hengxinguotong.hxgtwygsp.ui.propertyService;

import com.hengxinguotong.hxgtwygsp.R;
import com.hengxinguotong.hxgtwygsp.ui.base.DialogActivity;
import com.hengxinguotong.hxgtwygsp.ui.propertyService.elevator.ElevatorServiceFragment;
import com.hengxinguotong.hxgtwygsp.ui.propertyService.fee.AnnualFeesFragment;
import com.hengxinguotong.hxgtwygsp.ui.propertyService.report.PeriodicReportFragment;
import com.hengxinguotong.hxgtwygsp.ui.propertyService.unpaidFee.UnpaidPropertyFeeFragment;

import javax.inject.Inject;

/**
 * 物业服务公示
 * Created by CS-Yong
 * 2019/8/8  16:32
 */
public class PropertyServiceActivity extends DialogActivity {

    @Inject
    PeriodicReportFragment mPeriodicReportFragment;
    @Inject
    AnnualFeesFragment mAnnualFeesFragment;
    @Inject
    ElevatorServiceFragment mElevatorServiceFragment;
    @Inject
    UnpaidPropertyFeeFragment mUnpaidPropertyFeeFragment;

    @Override
    public void initFragmentList() {
        dialogTitle.setText(R.string.main_property_service_publish);
        mPeriodicReportFragment.setTabText(getString(R.string.main_periodic_report));
        baseTabFragmentList.add(mPeriodicReportFragment);
        mAnnualFeesFragment.setTabText(getString(R.string.main_annual_fees));
        baseTabFragmentList.add(mAnnualFeesFragment);
        mElevatorServiceFragment.setTabText(getString(R.string.main_elevator_service));
        baseTabFragmentList.add(mElevatorServiceFragment);
        mUnpaidPropertyFeeFragment.setTabText(getString(R.string.main_unpaid_property_fee));
        baseTabFragmentList.add(mUnpaidPropertyFeeFragment);
    }


}
